Grammar based function definition in Grammatical Evolution
نویسندگان
چکیده
We describe the use of grammars as an approach to automatic function definition in Grammatical Evolution. The automatic generation of functions allows the evolution of both the function and the code belonging to the main body of the program which has the ability to call upon the evolving function. As proof of concept we apply a grammar using automatic function definition to the Santa Fe ant trail. Results show that the evolutionary search successfully evolves code for the automatically defined function and calls upon this function from the main code to generate solutions to the Santa Fe trail. An analysis of the number of successful runs shows a speed-up in terms of the number of generations required to find a solution when compared to standard Grammatical Evolution.
منابع مشابه
Concept-based Instruction and Teaching English Tense and Aspect to Iranian School Learners
The present study examines the role of Gal’perin’s Concept-based Instruction (CBI) as a pedagogical approach in teaching cognitive grammar-based (CG-based) concepts of tense and aspect to EFL students. Following the sociocultural theory of L2 Acquisition (SCT), arming L2 learners with scientific concepts can lead to L2 development by deepening their understanding and raising awareness of L2 str...
متن کاملParallel Grammatical Evolution for Circuit Optimization
This paper describes a Parallel Grammatical Evolution (PGE) that can evolve complete circuits using a variable length of linear genome to govern the mapping of a Backus Naur Form grammar definition. In order to increase the efficiency of Grammatical Evolution (GE) the influence of backward processing and an influence of several fitness functions were tested. PGE with backward processing can als...
متن کاملConstituent Grammatical Evolution
We present Constituent Grammatical Evolution (CGE), a new evolutionary automatic programming algorithm that extends the standard Grammatical Evolution algorithm by incorporating the concepts of constituent genes and conditional behaviour-switching. CGE builds from elementary and more complex building blocks a control program which dictates the behaviour of an agent and it is applicable to the c...
متن کاملGrammatical Evolution: A Steady State approach
We describe a Genetic Algorithm that can evolve complete programs. Using a variable length linear genome to govern the mapping of a Backus Naur Form grammar definition to a program, expressions and programs of arbitrary complexity may be evolved. Our system, Grammatical Evolution, has been applied to problems such as a Symbolic Regression problem, and finding Trigonometric Identities. In this p...
متن کاملA Study of Ideational Grammatical Metaphor in Health Texts of English Newspapers
Systemic functional grammar constructs a grammar for the purpose of text analysis to investigate how grammar is used as a means of making meaning. Grammatical metaphor is one of the language phenomena introduced by Halliday (2004) in the framework of functional grammar. The present work focuses on the application of Halliday’s metafunctional framework in health texts of English newspapers. The ...
متن کامل